package com.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.book.pojo.Shoucang;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cxy
 * @since 2023-10-13 15:50:00
 */
public interface ShoucangService extends IService<Shoucang> {

    int insertShoucang(Long rid, Long bid);

    int deleteShoucang(Long rid, Long bid);

    List<Long> selectBidsByRid(Long rid);

    void selectBookNumByBid(Long bid);

    List<Shoucang> CollectRanking();
}
